/*
 * write.c
 *
 *  Created on: 2009-5-28
 *      Author: root
 */

#include"mysocket.h"

/* devide data which contains by buf into several
 * pieces,and send one piece and wait for the result
 * before sending another piece until all pieces are
 * sent out.
 */

int writetosocket(int sock,char *buf,int buflen){

}
